package com.ruoyi.official.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 官网轮播图对象 official_banner
 *
 * @author yuanqiji
 * @date 2025-03-21
 */
public class OfficialBanner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 英文轮播图地址
     */
    @Excel(name = "英文轮播图地址")
    private String bannerUrlEn;

    /**
     * 中文轮播图地址
     */
    @Excel(name = "中文轮播图地址")
    private String bannerUrlZh;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 是否展示
     */
    @Excel(name = "是否展示")
    private String status;

    /**
     * 跳转的地址
     */
    @Excel(name = "跳转的地址")
    private String url;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBannerUrlEn() {
        return bannerUrlEn;
    }

    public void setBannerUrlEn(String bannerUrlEn) {
        this.bannerUrlEn = bannerUrlEn;
    }

    public String getBannerUrlZh() {
        return bannerUrlZh;
    }

    public void setBannerUrlZh(String bannerUrlZh) {
        this.bannerUrlZh = bannerUrlZh;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("bannerUrlEn", getBannerUrlEn())
                .append("bannerUrlZh", getBannerUrlZh())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("url", getUrl())
                .toString();
    }
}
